FUNCTION

extract_account_and_auth_descriptor

function extract_account_and_auth_descriptor(auth_args: list<gtv>): (byte_array, byte_array)

Extracts the account ID and auth descriptor ID from the args of the auth operation, which are the operations supported by is_auth_op

Parameters

  • auth_args — the arguments that were passed to the auth operation.

Returns

a tuple containing (account_id, auth_descriptor_id)

© 2024 Chromia